<html>
<head><meta charset="utf-8"><title>I-prioritize #77993 ICE:  tuple_fields called on non-tuple:… · t-compiler/wg-prioritization/alerts · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/index.html">t-compiler/wg-prioritization/alerts</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html">I-prioritize #77993 ICE:  tuple_fields called on non-tuple:…</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213598978"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213598978" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213598978">(Oct 16 2020 at 18:43)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="3111">@WG-prioritization/alerts</span> issue <a href="https://github.com/rust-lang/rust/issues/77993">#77993</a> has been requested for prioritization.</p>
<h1><a href="https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label">Procedure</a></h1>
<ul>
<li>Priority?</li>
<li>Regression?</li>
<li>Notify people/groups?</li>
<li>Needs <code>I-nominated</code>?</li>
</ul>



<a name="213599153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213599153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213599153">(Oct 16 2020 at 18:45)</a>:</h4>
<p>This code was incorrect as it is, so error -&gt; ICE. However, it seems like there's something weird going on here, so I suggest <code>P-high</code> until we get more information</p>



<a name="213599424"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213599424" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213599424">(Oct 16 2020 at 18:47)</a>:</h4>
<p>It seems like <code>macro</code> can be replaced with any other keyword.</p>
<div class="codehilite" data-code-language="Rust"><pre><span></span><code><span class="k">async</span><span class="w"> </span><span class="k">fn</span> <span class="nf">ice</span><span class="p">()</span><span class="w"> </span>-&gt; <span class="nb">Box</span><span class="o">&lt;</span><span class="k">dyn</span><span class="w"> </span><span class="n">std</span>::<span class="n">error</span>::<span class="n">Error</span><span class="o">&gt;</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w">    </span><span class="k">dyn</span><span class="o">!</span><span class="p">()</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</code></pre></div>

<p>will panic too</p>



<a name="213599681"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213599681" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213599681">(Oct 16 2020 at 18:49)</a>:</h4>
<p>I would go with <code>P-high</code> because it will panic if <code>any keyword</code> is followed by an <code>unexpected token</code> inside an <code>async function</code> that returns <code>Box&lt;dyn Trait&gt;</code>. This seems very weird</p>



<a name="213599789"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213599789" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213599789">(Oct 16 2020 at 18:50)</a>:</h4>
<p>I suggest <code>P-high</code>, this pattern hits production code according to <a href="https://github.com/rust-lang/rust/issues/77993#issuecomment-709631876">https://github.com/rust-lang/rust/issues/77993#issuecomment-709631876</a>.</p>



<a name="213599926"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213599926" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Stu <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213599926">(Oct 16 2020 at 18:51)</a>:</h4>
<p><code>actix-web</code> fails to build because of this</p>



<a name="213600374"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213600374" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hameer Abbasi <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213600374">(Oct 16 2020 at 18:55)</a>:</h4>
<p><del>Then... <code>P-critical</code>?</del></p>



<a name="213600436"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213600436" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Yuki Okushi <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213600436">(Oct 16 2020 at 18:56)</a>:</h4>
<p><span class="user-mention silent" data-user-id="230287">Stu</span> <a href="#narrow/stream/245100-t-compiler.2Fwg-prioritization.2Falerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6/near/213599926">said</a>:</p>
<blockquote>
<p><code>actix-web</code> fails to build because of this</p>
</blockquote>
<p>note that it occurs on the diagnostics test which is expected to fail :)</p>



<a name="213600467"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213600467" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213600467">(Oct 16 2020 at 18:56)</a>:</h4>
<p>Yes, this code is incorrect IIUC</p>



<a name="213600480"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213600480" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213600480">(Oct 16 2020 at 18:56)</a>:</h4>
<p>I'll assign <code>P-high</code></p>



<a name="213600539"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize%20%2377993%20ICE%3A%20%20tuple_fields%20called%20on%20non-tuple%3A%E2%80%A6/near/213600539" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/245100-t-compiler/wg-prioritization/alerts/topic/I-prioritize.20.2377993.20ICE.3A.20.20tuple_fields.20called.20on.20non-tuple.3A.E2.80.A6.html#213600539">(Oct 16 2020 at 18:57)</a>:</h4>
<p>Issue <a href="https://github.com/rust-lang/rust/issues/77993">#77993</a>'s prioritization request has been removed.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>